package com.footballretriever.datasource;

public class WEBDAOFactory extends DAOFactory {

	public static final String AIC = "Aic";
	public static final String LegaSerieA = "LegaSerieA";
	
	public PlayerDAO getPlayerDAO(String source) {

		 switch (source) {
	      case AIC	: 
	          return new PlayerAICWebDAO();
	      case LegaSerieA    : 
	          return new PlayerLegaAWebDAO();      
	      default		: 
	          return new PlayerAICWebDAO();
	          
	    }
		
	}

}
